package com.brspace.qualitycontrol.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brspace.qualitycontrol.entity.Engineering;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 工程表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-04-05
 */
public interface EngineeringMapper extends BaseMapper<Engineering> {

    @Select("SELECT SUM(bidd_price) FROM engineering")
    Integer selectSum();

}
